import { notification } from "antd";
// 全局提示
type NotificationType = 'success' | 'info' | 'warning' | 'error';
export const openNotification = (type: NotificationType, message: string) => {
  notification[type]({
      message: message,
  });
};